home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 18366 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: ix.netcom.com!news
  2. From: miker3@ix.netcom.com (Mike Rubenstein)
  3. Newsgroups: comp.lang.java,comp.lang.c++
  4. Subject: Re: Will Java kill C++?
  5. Date: Fri, 19 Apr 1996 13:58:44 GMT
  6. Organization: Netcom
  7. Message-ID: <31779b60.142180194@nntp.ix.netcom.com>
  8. References: <31682FFE.2781E494@bbn.com> <DpJyGG.FKK@hkuxb.hku.hk> <CGAY.96Apr18180018@suffix.cs.uoregon.edu>
  9. NNTP-Posting-Host: ix-dc14-19.ix.netcom.com
  10. X-NETCOM-Date: Fri Apr 19  9:01:42 AM CDT 1996
  11. X-Newsreader: Forte Agent .99d/32.182
  12.  
  13. cgay@suffix.cs.uoregon.edu (Carl L. Gay) wrote:
  14. >    Joe Kraska (jkraska@bbn.com) wrote:
  15. [...]
  16. >    >My first question was 'show me how to allocate an array of pointers to
  17. >    >strings'. His response was, 'huh?'. 
  18. > His first response should have been: "C doesn't have strings."
  19.  
  20. Why should he have given an incorrect answer like that?  From ISO
  21. 7.1.1:
  22.  
  23.     A string is a contiguous sequence of characters terminated by 
  24.     and including the first null character.  A "pointer to" a     
  25.     string is a pointer to its initial (lowest addressed) 
  26.     character.
  27.  
  28. Michael M Rubenstein
  29.